import torch

from .interface import Optimizer


class Adam(Optimizer, torch.optim.Adam):
    def __init__(self, model: torch.nn.Module):
        Optimizer.__init__(self, model)
        torch.optim.Adam.__init__(self, params=self.params)
